# -*- coding: utf-8 -*-
#coding=utf-8

class NotFoundError(Exception):
    def __init__(self, what = ""):
        self.what = what

    def __str__(self):
        return "Not found error: %s." % self.what

class NotSupportError(Exception):
    def __init__(self, what = ""):
        self.what = what

    def __str__(self):
        return "Not support error: %s." % self.what

class BadFormatError(Exception):
    def __init__(self, what = ""):
        self.what = what

    def __str__(self):
        return "Bad format error: %s." % self.what

class InvalidArgumentsError(Exception):
    def __init__(self, what = ""):
        self.what = what

    def __str__(self):
        return "Invalid arguments error: %s." % self.what

class OperationError(Exception):
    def __init__(self, what):
        self.what = what

    def __str__(self):
        return "Operation error: %s." % self.what


if __name__ == "__main__":
    try:
        raise NotFoundError("something")
    except NotFoundError, e:
        print e
